package struts

/**
 * description：
 * <p>
 * </p>
 * change history:
 * date                      defect#    person       comments
 * -------------------------------------------------------------<p>
 * 2023/10/7 09:23          ********    kong.ruo    create file.
 *
 * @author kong.ruo
 * @date 2023/10/7 09:23
 *
 * @since go 1.20
 */

type Pair struct {
	Left  interface{}
	Right interface{}
}

func GetPair(left interface{}, right interface{}) *Pair {
	return &Pair{
		Left:  left,
		Right: right,
	}
}

type PairString struct {
	Left  string
	Right string
}

func GetPairString(left string, right string) *PairString {
	return &PairString{
		Left:  left,
		Right: right,
	}
}

type PairArrayString struct {
	Left  []string
	Right []string
}

func GetPairArrayString(left []string, right []string) *PairArrayString {
	return &PairArrayString{
		Left:  left,
		Right: right,
	}
}
